package com.stony.orc;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>orcTest
 * <p>com.stony.orc
 *
 * @author stony
 * @version 上午11:35
 * @since 2017/12/1
 */
public class TonicDetail implements Serializable {
    long id; // BIGINT auto_increment PRIMARY KEY ,
    @JsonProperty("tonic_name")
    String tonicName;//  VARCHAR(255) COMMENT '药剂名称',
    String classify;//   VARCHAR(200) COMMENT '类别',
    String taste;//   VARCHAR(200) COMMENT '性味',
    String meridian;//   VARCHAR(200) COMMENT '归经',
    String features;//   VARCHAR(2000) COMMENT '功能主治',
    String avoid;//   VARCHAR(2000) COMMENT '宜忌',
    String ingredient;//   VARCHAR(2000) COMMENT '化学成分',
    String source;//   VARCHAR(2000) COMMENT '来源',
    @JsonProperty("update_time")
    Timestamp updateTime;//   TIMESTAMP

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTonicName() {
        return tonicName;
    }

    public void setTonicName(String tonicName) {
        this.tonicName = tonicName;
    }

    public String getClassify() {
        return classify;
    }

    public void setClassify(String classify) {
        this.classify = classify;
    }

    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }

    public String getMeridian() {
        return meridian;
    }

    public void setMeridian(String meridian) {
        this.meridian = meridian;
    }

    public String getFeatures() {
        return features;
    }

    public void setFeatures(String features) {
        this.features = features;
    }

    public String getAvoid() {
        return avoid;
    }

    public void setAvoid(String avoid) {
        this.avoid = avoid;
    }

    public String getIngredient() {
        return ingredient;
    }

    public void setIngredient(String ingredient) {
        this.ingredient = ingredient;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", tonicName='" + tonicName + '\'' +
                ", classify='" + classify + '\'' +
                ", taste='" + taste + '\'' +
                ", meridian='" + meridian + '\'' +
                ", features='" + features + '\'' +
                ", avoid='" + avoid + '\'' +
                ", ingredient='" + ingredient + '\'' +
                ", source='" + source + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
